package com.my.system.object.order;

public class OrderItem {
	private int id;
	private int amount;
	private String memo;
	private int order_id;
	private int product_id;

	public OrderItem(int id, int amount, String memo, int order_id,
			int product_id) {
		super();
		this.id = id;
		this.amount = amount;
		this.memo = memo;
		this.order_id = order_id;
		this.product_id = product_id;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public int getOrder_id() {
		return order_id;
	}

	public void setOrder_id(int order_id) {
		this.order_id = order_id;
	}

	public int getProduct_id() {
		return product_id;
	}

	public void setProduct_id(int product_id) {
		this.product_id = product_id;
	}

	@Override
	public String toString() {
		return "Order_item: id=" + id + ", amount=" + amount + ", memo=" + memo;
	}
}
